import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SPublicMiniPlayer } from "./SPublicMiniPlayer";
type int = number;
//class SCrossSWSettlementInfo
    
    export  class SCrossSWSettlementInfo
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.teamId);
            this.miniPlayer.__write(arg1);
            arg1.writeInt(this.killNum);
            arg1.writeInt(this.damageAmount);
            arg1.writeInt(this.treatmentAmount);
            arg1.writeInt(this.status);
            arg1.writeInt(this.result);
            arg1.writeInt(this.spiritCoinAdd);
            arg1.writeInt(this.teamScore);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.teamId = arg1.readInt();
            this.miniPlayer = new SPublicMiniPlayer();
            this.miniPlayer.__read(arg1);
            this.killNum = arg1.readInt();
            this.damageAmount = arg1.readInt();
            this.treatmentAmount = arg1.readInt();
            this.status = arg1.readInt();
            this.result = arg1.readInt();
            this.spiritCoinAdd = arg1.readInt();
            this.teamScore = arg1.readInt();
            return;
        }

        public /* var */teamId: int;

        public /* var */miniPlayer: SPublicMiniPlayer;

        public /* var */killNum: int;

        public /* var */damageAmount: int;

        public /* var */treatmentAmount: int;

        public /* var */status: int;

        public /* var */result: int;

        public /* var */spiritCoinAdd: int;

        public /* var */teamScore: int;
    }
